package wechat.base.snd;

import wechat.base.snd.WCServiceApp;
import wechat.base.snd.encoding.JsonPut;
import wechat.base.snd.util.ExecPost;

@SuppressWarnings("all")
public abstract class WCServiceAppMessage {
  protected WCServiceApp app;
  
  protected JsonPut content;
  
  public void send2Users(final Iterable<String> users) {
    for (final String usr : users) {
      {
        this.content.putObj("touser", usr);
        String _applicationTemplateUrl = this.app.getApplicationTemplateUrl();
        String _string = this.content.toString();
        ExecPost.excuteJsonPost(_applicationTemplateUrl, _string);
      }
    }
  }
}
